package org.wmq.travelagency02.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.travelagency02.model.Entity.SignUp;
import org.wmq.travelagency02.model.VO.SignUpQueryByTourGroupIdVO;
import org.wmq.travelagency02.model.VO.SignUpQueryByTravellerIdVO;
import org.wmq.travelagency02.model.VO.SignUpQueryVO;

import java.util.List;

public interface SignUpService extends IService<SignUp> {
    SignUpQueryVO getSignUpInfoByTravellerIdAndTourGroupId(Long travellerId, Long tourGroupId);

    SignUpQueryByTravellerIdVO getSignUpInfoByTravellerId(Long travellerId);

    SignUpQueryByTourGroupIdVO getSignUpInfoByTourGroupId(Long tourGroupId);

    boolean removeByTravellerId(Long travellerId);

    boolean removeByTourGroupId(Long tourGroupId);

    boolean updateSignUpById(SignUp signUp);
}
